/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.meter.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.tenant.mp.TenantEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 表计变更信息表实体类
 *
 * @author John
 * @since 2020-08-15
 */
@Data
@TableName("t_device_change_log")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DeviceChangeLog对象", description = "表计变更信息表")
public class DeviceChangeLog extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 表计ID
	*/
		@ApiModelProperty(value = "表计ID")
		private String meterId;
	/**
	* sn编号
	*/
		@ApiModelProperty(value = "sn编号")
		private String sn;
	/**
	* 出厂编号
	*/
		@ApiModelProperty(value = "出厂编号")
		private String serialNo;
	/**
	* 变更日期
	*/
		@ApiModelProperty(value = "变更日期")
		private LocalDateTime changeDate;
	/**
	* 示数类型
	*/
		@ApiModelProperty(value = "示数类型")
		private Integer dstype;
	/**
	* 上次示数
	*/
		@ApiModelProperty(value = "上次示数")
		private BigDecimal dslaset;
	/**
	* 本次示数
	*/
		@ApiModelProperty(value = "本次示数")
		private BigDecimal dsthis;
	/**
	* 抄表位数
	*/
		@ApiModelProperty(value = "抄表位数")
		private BigDecimal meterDigits;
	/**
	* 拆表日期
	*/
		@ApiModelProperty(value = "拆表日期")
		private LocalDateTime removeDate;
	/**
	* 拆表人员
	*/
		@ApiModelProperty(value = "拆表人员")
		private String removePerson;
	/**
	* 异常类别
	*/
		@ApiModelProperty(value = "异常类别")
		private String errorType;
	/**
	* 综合倍率
	*/
		@ApiModelProperty(value = "综合倍率")
		private BigDecimal comi;
	/**
	* 变更申请号
	*/
		@ApiModelProperty(value = "变更申请号")
		private String changeId;
	/**
	* 版本
	*/
		@ApiModelProperty(value = "版本")
		private String version;


}
